package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
@Data
@TableName("car")
public class Car {
    @TableId(type = IdType.AUTO)
    @TableField(value = "carId")
    public Long carId;
    @TableField(value = "carName")
    public String carName;
    @TableField(value = "carPrice")
    public double carPrice;
    @TableField(value = "carMileage")
    public String carMileage;
    @TableField(value = "carBuyTime")
    public Date carBuyTime;
    @TableField(value = "carType")
    public Integer carType;
    @TableField(value = "carStatus")
    public Integer carStatus;
}
